home *** CD-ROM | disk | FTP | other *** search
- Path: RW320B48.rz.fhtw-berlin.de!n4297
- From: Robert Rohde <n4297@RW320B48.rz.fhtw-berlin.de>
- Newsgroups: comp.sys.amiga.programmer
- Subject: GCC warns about OS3.1-protos!(?)
- Date: Tue, 5 Mar 1996 15:40:07 +0100
- Message-ID: <Pine.SGI.3.91.960305151659.7781A-100000@RW320B48.rz.fhtw-berlin.de>
- NNTP-Posting-Host: rw320b48.rz.fhtw-berlin.de
- Mime-Version: 1.0
- Content-Type: TEXT/PLAIN; charset=US-ASCII
-
- Hi everybody!!!
-
- I am relatively new in C-programming, but think I'm learning. :)
- I'm using GCC 2.7.0 and have yet compiled some small progs.
-
- My question concerns warnings I get when including OS3.1-prototyp-headers:
-
- - I compile with:
- gcc -o RobertsWin RobertsWin.c -Iinclude: -noixemul -s -fbaserel
- using GCC 2.7.0.
-
- - The assign include: points to where my OS3.1-includes are.
-
- - While compiling I get following warnings:
-
- In file included from robertswin.c:21:
- include:clib/dos_protos.h:128: warning: `struct ExAllControl' declared inside
- parameter list
- include:clib/dos_protos.h:128: warning: its scope is only this definition
- or declaration,
- include:clib/dos_protos.h:128: warning: which is probably not what you want.
-
- and the like.
-
- Is this a warning I must care about?
- If not, is there a way to suppress those warnings?
-
-
- Thank you, have a good time!
-
- Robert, n4297@rz.fhtw-berlin.de
-
-
- PS.: I'm constantly browsing through the gcc.guide, but it's a bit complex
- for a newbie like me, though it helped me much so far.
-